/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.TyreCost;
import com.jeeplus.modules.fleet.mapper.TyreCostMapper;

/**
 * 轮胎费用Service
 * @author 李超辉
 * @version 2018-10-26
 */
@Service
@Transactional(readOnly = true)
public class TyreCostService extends CrudService<TyreCostMapper, TyreCost> {

	public TyreCost get(String id) {
		return super.get(id);
	}
	
	public List<TyreCost> findList(TyreCost tyreCost) {
		return super.findList(tyreCost);
	}
	
	public Page<TyreCost> findPage(Page<TyreCost> page, TyreCost tyreCost) {
		return super.findPage(page, tyreCost);
	}
	
	@Transactional(readOnly = false)
	public void save(TyreCost tyreCost) {
		super.save(tyreCost);
	}
	
	@Transactional(readOnly = false)
	public void delete(TyreCost tyreCost) {
		super.delete(tyreCost);
	}
	
}